package com.tcxhb.job.admin.convert;

import com.tcxhb.job.dao.dataobject.JobMachineDO;
import com.tcxhb.job.dao.dataobject.query.JobMachineQuery;
import com.tcxhb.job.admin.model.request.biz.JobMachineAddReq;
import com.tcxhb.job.admin.model.request.query.JobMachineQueryReq;
import com.tcxhb.job.admin.model.response.JobMachineVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface JobMachineConvert {

    public JobMachineVO do2VO(JobMachineDO tcJobMachine);

    public JobMachineQuery toQuery(JobMachineQueryReq req);

    public JobMachineDO req2DO(JobMachineAddReq addReq);

}
